package map.abstractor.xaml2uimodel.base;

import org.w3c.dom.Element;

/**
 *  Class XMLObject
 * 		implements Cloneable
 *  
 */
public abstract class XMLObject implements Cloneable {
	/**
	 * getClone
	 * @return a clone of this
	 */
	public XMLObject getClone() {
		XMLObject n = null;
		try {
			n = (XMLObject) (this.clone());
		} catch (Exception e) {
			e.printStackTrace();
		}
		return n;
	}
	
	/**
	 * Init a new clone 
	 * @param e : DOM Element
	 */
	public abstract void init(Element e);
}
